package com.promise.jokerdream.response.pc

import kotlinx.serialization.Serializable

// 帮派远征回包
@Serializable
data class QueryFactionArmyResponse(
    override val result: Int,
    override val msg: String = "",
    // 岛屿信息
    val fightInfo: FactionArmyFightInfo = FactionArmyFightInfo()
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

// 岛屿信息
@Serializable
data class FactionArmyFightInfo(
    // 是否可以领岛屿奖励，1为可领取
    val islandAwardStatus: Int = 0,
    // 节点信息
    val islandInfo: List<FactionArmyIslandInfo> = emptyList()
)

// 节点信息
@Serializable
data class FactionArmyIslandInfo(
    // 唯一id
    val pointId: Int = 0,
    // 节点状态，0为未解锁、1为进行中、2为可领奖
    val pointStatus: Int = 0,
    // 领奖状态，1为可领奖、2为已领奖
    val awardStatus: Int = 0,
)
